<h1>
    <?php if(!isset($edit)) { ?> Add strip <?php } else { ?> Edit strip <?php } ?>
</h1>
<form id="strip-add" enctype="multipart/form-data" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
    <input type="hidden" name="MAX_FILE_SIZE" value="1048576" />
    <div>
	   <div id="strip-add-title-wrapper">
		<div class="strip-add-label">Title:</div>
		<?php echo $form->text('Strip.title', array('id' => 'strip-add-title', 'class' => 'textbox')); ?>
	   </div>
	   <div id="strip-add-annotation-wrapper">
	       	<div class="strip-add-label">Annotation <a href="<?php echo $html->url('/pages/striphelp') ?>">(help)</a>:</div>
	       	<?php echo $form->textarea('Strip.annotation', array('id' => 'strip-add-annotation', 'rows' => '10', 'cols' => '50')) ?>
	   </div>
	   <div id="strip-add-annotation-wrapper">
	       	<div class="strip-add-label">Transcript <a href="<?php echo $html->url('/pages/striphelp') ?>">(help)</a>:</div>
	       	<?php echo $form->textarea('Strip.transcript', array('id' => 'strip-add-trascript', 'rows' => '10', 'cols' => '50')) ?>
	   </div>
	   <?php if(!isset($edit)) { ?>
	   <div id="strip-add-file-wrapper">
	       <div class="strip-add-label">File (JPEG only):</div>
	       <?php echo $form->file('Upload.filename', array('id' => 'strip-add-file')); ?>
	   </div>
	   <?php } ?>
	   <div id="strip-add-submit-wrapper">
	       <?php echo $form->submit('Submit', array('id' => 'strip-add-submit', 'name' => 'strip-add-submit', 'class' => 'button')) ?>
	   </div>
   </div>
</form>
